package com.qfedu.mall.beans.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class Users {



    @Id
    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "username")
    private String username;

    @Column(name = "password")
    private String password;

    @Column(name = "nickname")
    private String nickname;

    @Column(name = "phone")
    private String phone;

    private String coupons;
    private Double redpacket;
    private String email;

    @Column(name = "QQ")
    private String QQ;


    @Column(name = "balance")
    private Double balance;

    private String sex;
    private Double integral;
    @Column(name="user_img")
    private String userImg;





}
